﻿<controls:ChildWindow x:Class="RegOnline.addNewTrebCC"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
                      
           Title="Новое требование" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="125" d:DesignWidth="500" FontSize="12">
    <Grid x:Name="LayoutRoot" Margin="2" Height="83" Width="481">
        <Grid.RowDefinitions>
            <RowDefinition Height="45*" />
            <RowDefinition Height="38" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="182" />
            <ColumnDefinition Width="313*" />
        </Grid.ColumnDefinitions>
        <sdk:Label Content="Новое название требования:" HorizontalAlignment="Right"  Margin="0,12,0,8"  FontSize="12" Width="181" />
        <TextBox Margin="4,12,6,8" Grid.Column="1" Name="nameReqTextBox" MinWidth="150" FontSize="12" TextChanged="nameReqTextBox_TextChanged" />


        <Button x:Name="CancelButton" Grid.Column="1" Content="Отмена" Click="CancelButton_Click" Width="85" Height="28" HorizontalAlignment="Right" Margin="0,8,6,2" FontSize="11" Grid.Row="1" />
        <Button x:Name="OKButton" Grid.Column="1" Content="Сохранить" Click="OKButton_Click" Width="85" Height="28" HorizontalAlignment="Left" Margin="104,8,0,2" FontSize="11" Grid.Row="1" />
        <sdk:Label Grid.ColumnSpan="2" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="61,13,0,0" Name="label1" VerticalAlignment="Top" Width="206" Content="Введите название требования!" FontSize="12" Foreground="#FFC90000" Visibility="Collapsed" />
    </Grid>
</controls:ChildWindow>